<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>使用jquery元素生成器生成元素</title>
		<link rel="stylesheet" type="text/css" href="css/txt.css" />
		<script type="text/javascript" src="js/jquery.js">
		</script>
	</head>

	<body>

	</body>

	<script type="text/javascript">
		$(function() {

			var dom = $("<p>haha</p>").html("<h1>kkk</h1>");
			$("html").append(dom);
		});
	</script>

</html>